package com.common.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("订单VO")
public class OrderVo implements Serializable {


    @ApiModelProperty("id")
    private Long id;


    @ApiModelProperty("用户id")
    private Long userId;


    @ApiModelProperty("商品id关联预约表")
    private Long makeAppId;

    @ApiModelProperty("商品id")
    private Long completeId;

    @ApiModelProperty("订单状态 0-预约 1-未完成 2-进行中 3-已完成 4-订单取消")
    private Integer orderStatus;


    @ApiModelProperty("下单时间")
    private LocalDateTime placeOrderDate;


    @ApiModelProperty("订单完成时间")
    private LocalDateTime completeDate;


    @ApiModelProperty("处理人id")
    private Long handlerId;


    @ApiModelProperty("处理完成时间")
    private LocalDateTime handlerDate;


    @ApiModelProperty("创建时间")
    private LocalDateTime createdDate;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateDate;

    private static final long serialVersionUID = 1L;
}